import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import HomeBlock from './HomeBlock.vue'
import Menus from './Menus.vue'
import PageLayout from './PageLayout.vue'
import Dialog from '../pages/home/Dialog.vue'
import newOrder from '../pages/home/newOrder.vue'
function plugin(app) {
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
        app.component(key, component)
    }

    // app.component('HomeBlock', HomeBlock)
    app.component('Menus', Menus)
    app.component('PageLayout', PageLayout)
    app.component('Dialog',Dialog)
    app.component('newOrder',newOrder)
}

export default plugin